package com.bonjour.work.controller.api;

import com.bonjour.common.core.BaseRest;
import com.bonjour.common.core.RpcReply;
import com.bonjour.work.service.SummaryService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.inject.Inject;

@RestController
@RequestMapping("/summary")
public class SummaryController extends BaseRest {
    private final SummaryService summaryService;

    @Inject
    public SummaryController(SummaryService summaryService) {
        this.summaryService = summaryService;
    }

    @GetMapping("/getTotalCandidateCounts")
    public RpcReply<Integer> getTotalCandidateCounts(){
        return RpcReply.onOk(null);
    }
}
